//
//  ViewController.m
//  UI14_StoryBoard
//
//  Created by 李劲成 on 16/3/28.
//  Copyright © 2016年 ljc. All rights reserved.
//

#import "ViewController.h"
#import "VCOfSecond.h"
@interface ViewController ()

@property (weak, nonatomic) IBOutlet UITextField *TextFieldOfName;

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
}

#pragma mark - 重写此方法.
/** 当通过Segue 跳转下一页面的时候, ViewController 会调用此方法 */
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // 查看 UIStoryBoardSegue API.
    VCOfSecond *second = segue.destinationViewController;
    second.temp = self.TextFieldOfName.text;
/*
    NSLog(@"%@",  segue);
    NSLog(@"%@", sender);
*/
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
